home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 April
/
EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso
/
EARCD
/
comm
/
www
/
IBGoldEd.lha
/
IBGoldEd.ibrx
next >
Wrap
Text File
|
1996-12-18
|
2KB
|
64 lines
/* IBGoldEd V1.0 ©1996 Roy E Brown <roy@ebrown.demon.co.uk>
$VER: IBGoldED.ibrx V1.0 (18.12.96)
A script for use with IBrowse to pass the active LOCAL file to
GoldED for editing.
Add it to your IBrowse Arexx menu.
*/
Options Results
Options failat 21
Vers="IBGoldEd V1.0 ©1996 Roy Brown"
tags="rtez_flags=ezreqf_centertext"
/* Check for rexxreqtools.library */
If ~Show('L','rexxreqtools.library') Then
Do
If ~Exists('Libs:rexxreqtools.library') Then
Do
If Exists('C:RequestChoice') Then
Do
Address Command
'RequestChoice >NIL: "System Information" "IBGoldEd.ibrx Error!*nCannot find required library.*nPlease consult documentation" "Thank You"'
End
Else
Say "IBGoldEd.ibrx Error Cannot find required library. Please consult documentation"
Exit
End
AddLib('rexxreqtools.library',0,-30,0)
End
If ~Show('P','IBROWSE') Then
Do
Call RTEZREQUEST("Ibrowse doesn't appear to be loaded","Oops",Vers,tags)
Exit
End
Address IBROWSE
'QUERY URL' /* Will automatically select the active IBrowse window */
If RESULT='' Then
Do
Call RTEZREQUEST("There is no LOCAL file loaded in IBROWSE","Oops",Vers,tags)
Exit
End
If Left(RESULT,4)~="file" Then
Do
Call RTEZREQUEST("This script will only work on LOCAL files","Oops",Vers,tags)
Exit
End
LocalHTML=Substr(RESULT,9)
If ~Show('P','GOLDED.1') Then
Address Command 'Ed 'LocalHTML''
Else
Address GOLDED.1 'OPEN NEW NAME 'LocalHTML''
Exit